﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="DigitizationLogListModule.ascx.cs" 
    Inherits="ChapterX.Modules.DigitizationLogListModule" %>

<link type="text/css" rel="Stylesheet" href="/css/list.css" />
<%@ Import Namespace="ChapterX.Common" %>

<div id="digitization-list-module">
    <asp:GridView ID="DigitizationLogList" runat="server" CssClass="data-list"
        AutoGenerateColumns="False">
        <Columns>
            <asp:TemplateField HeaderText="操作人" ItemStyle-CssClass="">
                <ItemTemplate>
                    <asp:Label runat="server" 
                    Text='<%# String.Format("{0}({1})", Eval("OperatorName"), Eval("OperatorId")) %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:BoundField HeaderText="操作时间" DataField="TimeStamp" ItemStyle-CssClass="" ></asp:BoundField>
            <asp:BoundField HeaderText="操作内容" DataField="Operation" ItemStyle-CssClass="" ></asp:BoundField>
            <asp:TemplateField HeaderText="数字化状态" >
                <ItemTemplate>
                    <%# CommonDefinition.getStringDigitizationStatus(Int32.Parse(Eval("DigitizationStatus").ToString())) %>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:BoundField HeaderText="备注" DataField="Description" ItemStyle-CssClass=""></asp:BoundField>
        </Columns>
    </asp:GridView>
</div>
